﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Sys_Setting.aspx.cs" Inherits="SYS_POPEDOM_SYS_Setting" %>

<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>

    <script type="text/javascript" src="../JavaScript/Common.js"></script>

    <link href="../css/PageStyle.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript">
        function MenuItemClick(menuItem) {
            switch (menuItem.id) {
                case 'extMenu_MyMenu':
                    Ext.net.DirectMethods.GetMyMenuWinUrl({
                        success: function(result) {
                            PnlContainer.loadContent(result);
                        }
                    });
                    break
                case 'extMenu_PwdEdit':
                    Ext.net.DirectMethods.GetPwdEditWinUrl({
                        success: function(result) {
                            PnlContainer.loadContent(result);
                        }
                    });
                    break
                case 'extMenu_DownLoad':
                    Ext.net.DirectMethods.GetDownLoadWinUrl({
                        success: function(result) {
                            PnlContainer.loadContent(result);
                        }
                    });
                    break
                case 'extMenu_AWAKE':
                    Ext.net.DirectMethods.GetAWAKEWinUrl({
                        success: function(result) {
                            PnlContainer.loadContent(result);
                        }
                    });
                    break
                case 'extMenu_SysDefault':
                    Ext.net.DirectMethods.GetSysDefaultWinUrl({
                        success: function(result) {
                            PnlContainer.loadContent(result);
                        }
                    })
                default:
            }
        }

        function ActiveMenu() {
            alert("fff");
        }
        
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <ext:ResourceManager ID="ResourceManager1" runat="server" AjaxViewStateMode="Enabled" />
    <div>
        <ext:Viewport ID="Viewport1" runat="server" HideBorders="true">
            <Content>
                <ext:ColumnLayout ID="ColumnLayout1" runat="server" Split="false" FitHeight="true">
                    <Columns>
                        <ext:LayoutColumn ColumnWidth="0.25">
                            <ext:Panel ID="Panel1" runat="server" Border="true" AutoScroll="true">
                                <Content>
                                    <ext:MenuPanel ID="MenuPanel1" runat="server" SelectedIndex="0" Icon="ArrowSwitch"
                                        BodyBorder="false">
                                        <Menu ID="Menu1" runat="server">
                                            <Items>
                                                <ext:MenuItem ID="extMenu_MyMenu" runat="server" Text="我的桌面" Icon="ArrowRight" />
                                                <ext:MenuItem ID="extMenu_PwdEdit" runat="server" Text="修改密码" Icon="ArrowRight" />
                                                <ext:MenuItem ID="extMenu_DownLoad" runat="server" Text="组件下载" Icon="ArrowRight" />
                                                <ext:MenuItem ID="extMenu_SysDefault" runat="server" Text="默认子系统" Icon="ArrowRight" />
                                                <ext:MenuItem ID="extMenu_AWAKE" runat="server" Text="个人关注管理" Icon="ArrowRight" />
                                            </Items>
                                            <Listeners>
                                                <ItemClick Fn="MenuItemClick" />
                                            </Listeners>
                                        </Menu>
                                    </ext:MenuPanel>
                                </Content>
                                <TopBar>
                                    <ext:Toolbar ID="Toolbar2" runat="server" Height="26">
                                        <Items>
                                            <ext:ToolbarTextItem Text="设置项目" Height="40">
                                            </ext:ToolbarTextItem>
                                            <ext:ToolbarFill ID="ToolbarFill2" runat="server" />
                                            <ext:Button ID="Button4" runat="server" Text="" Width="0px" Disabled="true">
                                            </ext:Button>
                                        </Items>
                                    </ext:Toolbar>
                                </TopBar>
                            </ext:Panel>
                        </ext:LayoutColumn>
                        <ext:LayoutColumn ColumnWidth="0.75">
                            <ext:Panel ID="Panel2" runat="server" BodyStyle="border-width:0 0 0 1px;" Layout="Fit">
                                <Content>
                                    <%--<ext:FitLayout runat="server">--%>
                                    <ext:Panel ID="Panel3" runat="server" BodyBorder="false">
                                        <TopBar>
                                            <ext:Toolbar ID="Toolbar1" runat="server" Height="26">
                                                <Items>
                                                    <ext:ToolbarTextItem Text="内容" Height="26">
                                                    </ext:ToolbarTextItem>
                                                    <ext:ToolbarFill ID="ToolbarFill1" runat="server" />
                                                    <ext:Button ID="Button1" runat="server" Text="" Width="0px" Disabled="true">
                                                    </ext:Button>
                                                </Items>
                                            </ext:Toolbar>
                                        </TopBar>
                                        <Content>
                                            <ext:FitLayout ID="FitLayout1" runat="server">
                                                <Items>
                                                    <ext:Panel ID="PnlContainer" runat="server" BodyBorder="false">
                                                    </ext:Panel>
                                                </Items>
                                            </ext:FitLayout>
                                        </Content>
                                    </ext:Panel>
                                    <%--</ext:FitLayout>--%>
                                </Content>
                            </ext:Panel>
                        </ext:LayoutColumn>
                    </Columns>
                </ext:ColumnLayout>
            </Content>
        </ext:Viewport>
    </div>
    </form>
</body>
</html>
